/*
 * MorrisPratt.h
 *
 *  Created on: 12-08-2013
 *      Author: Krzychu
 */

#ifndef MORRISPRATT_H_
#define MORRISPRATT_H_

#include "IAlgorithm.h"

class MorrisPratt: virtual public IAlgorithm
{
public:
	MorrisPratt();
	virtual ~MorrisPratt();
	virtual searchResult execute(std::string text, std::string pattern);
	virtual std::string getName();
protected:
	int* preMp(std::string pattern);
};

#endif /* MORRISPRATT_H_ */
